package com.jxpanda.spring.module.auth.core.authentication.manager;

import com.jxpanda.spring.module.auth.core.authentication.token.CollaborativeAuthenticationToken;
import reactor.core.publisher.Mono;

public class OAuth2TokenReactiveAuthenticationManager implements CollaborativeReactiveAuthenticationManager {


    @Override
    public Mono<CollaborativeAuthenticationToken> authenticate(CollaborativeAuthenticationToken authenticationToken) {
        // TODO:这个类暂时先空着，计划利用Spring的原始功能处理oauth2的认证
        return Mono.error(new UnsupportedOperationException("Unsupported authentication type"));
    }


}
